#include <bits/stdc++.h>
using namespace std;
int T, n;
int main()
{
    freopen("color.in","r",stdin);
    freopen("color.out","w",stdoout);
    cin >> T;
    while (T--)
    {
        cin >> n;
        vector<int> a[n+1];
        cout << 1;
    }

    return 0;
}
